#include<stdio.h>
#include<math.h>
int main() {
	for (int i = 101; i < 200; i += 2) {
		int count = 0;
		for (int j = 3; j < sqrt(i); j++) {
			if (i % j == 0) {
				count++;
				break;
			}
		}
		if (! count) {
			printf("%d ", i);
		}
	}
	return 0;

}
